-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for parallel read and write #188
Conversation
cc86fd4
to
5a94ee2
Compare
@@ -367,7 +367,7 @@ | |||
<Optimization>MaxSpeed</Optimization> | |||
<IntrinsicFunctions>true</IntrinsicFunctions> | |||
<AdditionalIncludeDirectories>./;./IDE/WIN;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<PreprocessorDefinitions>WOLFSSL_MIN_RSA_BITS=2048;WOLFSSL_MIN_ECC_BITS=256;HAVE_SECURE_RENEGOTIATION;WOLFSSL_DTLS_CH_FRAG;WOLFSSL_TLS13_MIDDLEBOX_COMPAT;WOLFSSL_DTLS_CH_FRAG;WOLFSSL_LIB;WOLFSSL_USER_SETTINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need to add this here just leaving it in the header file its fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for all other definitions too, since we use header file /?
If so, I would like to leave it in this PR and do a cleanup later removing all of these defines
5a94ee2
to
fb9f73c
Compare
Since `he_internal_pmtud_handle_probe_ack` handles (id != conn->pmtud.probe_pending_id) we do not need to check before calling the probe pending id
if PMTUD is not completed yet.
Add atomic support for win and linux - Add windows C11 flags with experimental atomic in win - Link atomic lib for linux test
Using separate project file for now
fb9f73c
to
e25cf1a
Compare
Description
WolfSSL start supporting read/write in multiple threads
This PR is add support to Lightway-core to use those capability.
Related PRs:
wolfSSL/wolfssl#7796
wolfSSL/wolfssl#8284
This PR introduces a compilation macro HE_ENABLE_MULTITHREADED, which should be defined if apps want to enable multi threaded support.
If not defined, lightway core should behave exactly as similar as earlier
Motivation and Context
Make lightway core multithreaded capable
How Has This Been Tested?
Tested manually using Windows app
Types of changes
Checklist:
main